Auto merge of #1961 - alexcrichton:fix-doc-target-specific, r=huonw
authorbors <bors@rust-lang.org>
Thu, 3 Sep 2015 17:06:43 +0000 (17:06 +0000)
committerbors <bors@rust-lang.org>
Thu, 3 Sep 2015 17:06:43 +0000 (17:06 +0000)
commit71f2a9fa9ba95823ce77127c37d4dd6f442a95f3
tree4c85c9d620e1ba3351049004d52d6cf28a6f5430
parent7ea82651fd02a74223789c7a1e105f43c5bd3e64
parenta3d056db903992f888350720f5b3aa665f3da791
Auto merge of #1961 - alexcrichton:fix-doc-target-specific, r=huonw

The recent change in #1939 ended up accidentally pulling in irrelevant
platform-specific dependencies into a normal `cargo doc`, causing those builds
to fail. This change tweaks the logic for calculating documentation dependencies
to account for filtering based on the relevant platform.